
import { Entity, NgField, NgObject, EntityList, NgList, NgDynamic, DynamicEntity, NgEntity } from '@farris/devkit';

@NgEntity({
    originalCode: "cwjsxx",
    nodeCode: "cwjsxxs",
    allowEmpty: true
})
export class CwjsxxEntity extends Entity {

    @NgField({
        originalDataField: 'ID',
        dataField: 'id',
        primary: true,
        originalDataFieldType: 'String',
        initValue: '',
        path: 'ID',

        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    id: string;

    @NgField({
        originalDataField: 'Version',
        dataField: 'version',
        originalDataFieldType: 'DateTime',
        initValue: '0001-01-01T00:00:00',
        path: 'Version',
        enableTimeZone: true,
    })
    version: string;

    @NgField({
        originalDataField: 'bzmc',
        dataField: 'bzmc',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'bzmc',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    bzmc: string;

    @NgField({
        originalDataField: 'bzbh',
        dataField: 'bzbh',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'bzbh',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    bzbh: string;

    @NgField({
        originalDataField: 'bzbz',
        dataField: 'bzbz',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'bzbz',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    bzbz: string;

    @NgField({
        originalDataField: 'hlbh',
        dataField: 'hlbh',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'hlbh',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    hlbh: string;

    @NgField({
        originalDataField: 'hlmc',
        dataField: 'hlmc',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'hlmc',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    hlmc: string;

    @NgField({
        originalDataField: 'hlbz',
        dataField: 'hlbz',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'hlbz',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    hlbz: string;

    @NgField({
        originalDataField: 'yhllbh',
        dataField: 'yhllbh',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'yhllbh',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    yhllbh: string;

    @NgField({
        originalDataField: 'yhllmc',
        dataField: 'yhllmc',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'yhllmc',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    yhllmc: string;

    @NgField({
        originalDataField: 'yhllbz',
        dataField: 'yhllbz',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'yhllbz',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    yhllbz: string;

    @NgField({
        originalDataField: 'jsfsbh',
        dataField: 'jsfsbh',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'jsfsbh',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    jsfsbh: string;

    @NgField({
        originalDataField: 'jsfsmc',
        dataField: 'jsfsmc',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'jsfsmc',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    jsfsmc: string;

    @NgField({
        originalDataField: 'jsfsbz',
        dataField: 'jsfsbz',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'jsfsbz',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    jsfsbz: string;

    @NgField({
        originalDataField: 'yhbh',
        dataField: 'yhbh',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'yhbh',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    yhbh: string;

    @NgField({
        originalDataField: 'yhmc',
        dataField: 'yhmc',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'yhmc',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    yhmc: string;

    @NgField({
        originalDataField: 'yhbz',
        dataField: 'yhbz',
        originalDataFieldType: 'String',
        initValue: '',
        path: 'yhbz',

        validRules: [
            {
                type: 'maxLength',
                constraints: [36],
                message: '最大长度为36',
            }
        ]
    })
    yhbz: string;

}